/**
 * <copyright>
 *
 * Copyright (c) 2011 Zeligsoft (2009) Limited
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: 
 *   Zeligsoft (2009) Limited - Initial API and implementation
 *
 * </copyright>
 *
 */
package org.omg.deployment.provider;

import java.util.Collection;
import java.util.List;

import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.omg.deployment.DataValue;
import org.omg.deployment.DeploymentPackage;
import org.omg.xmi.provider.DeploymentplanEditPlugin;

/**
 * This is the item provider adapter for a {@link org.omg.deployment.DataValue} object.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public class DataValueItemProvider extends ItemProviderAdapter implements
		IEditingDomainItemProvider, IStructuredItemContentProvider,
		ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
	/**
	 * This constructs an instance from a factory and a notifier.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DataValueItemProvider(AdapterFactory adapterFactory) {
		super(adapterFactory);
	}

	/**
	 * This returns the property descriptors for the adapted class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
		if (itemPropertyDescriptors == null) {
			super.getPropertyDescriptors(object);

			addShortPropertyDescriptor(object);
			addLongPropertyDescriptor(object);
			addUshortPropertyDescriptor(object);
			addUlongPropertyDescriptor(object);
			addFloatPropertyDescriptor(object);
			addDoublePropertyDescriptor(object);
			addBooleanPropertyDescriptor(object);
			addOctetPropertyDescriptor(object);
			addOpaquePropertyDescriptor(object);
			addObjrefPropertyDescriptor(object);
			addEnumPropertyDescriptor(object);
			addStringPropertyDescriptor(object);
			addLonglongPropertyDescriptor(object);
			addUlonglongPropertyDescriptor(object);
			addLongdoublePropertyDescriptor(object);
			addFixedPropertyDescriptor(object);
			addHrefPropertyDescriptor(object);
			addIdPropertyDescriptor(object);
			addIdrefPropertyDescriptor(object);
			addLabelPropertyDescriptor(object);
			addTypePropertyDescriptor(object);
			addUuidPropertyDescriptor(object);
			addVersionPropertyDescriptor(object);
		}
		return itemPropertyDescriptors;
	}

	/**
	 * This adds a property descriptor for the Short feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addShortPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_short_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_short_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Short(), true,
						false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Long feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addLongPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_long_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_long_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Long(), true,
						false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Ushort feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addUshortPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_ushort_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_ushort_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Ushort(),
						true, false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Ulong feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addUlongPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_ulong_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_ulong_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Ulong(), true,
						false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Float feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addFloatPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_float_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_float_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Float(), true, false,
				false, ItemPropertyDescriptor.REAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Double feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addDoublePropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_double_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_double_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Double(), true, false,
				false, ItemPropertyDescriptor.REAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Boolean feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addBooleanPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_boolean_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_boolean_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Boolean(), true,
				false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null,
				null));
	}

	/**
	 * This adds a property descriptor for the Octet feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addOctetPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_octet_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_octet_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Octet(), true,
						false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Opaque feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addOpaquePropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_opaque_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_opaque_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Opaque(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Objref feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addObjrefPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_objref_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_objref_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Objref(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Enum feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addEnumPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_enum_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_enum_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Enum(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the String feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addStringPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_string_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_string_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_String(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Longlong feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addLonglongPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_longlong_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_longlong_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Longlong(),
						true, false, false,
						ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Ulonglong feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addUlonglongPropertyDescriptor(Object object) {
		itemPropertyDescriptors
				.add(createItemPropertyDescriptor(
						((ComposeableAdapterFactory) adapterFactory)
								.getRootAdapterFactory(),
						getResourceLocator(),
						getString("_UI_DataValue_ulonglong_feature"),
						getString("_UI_PropertyDescriptor_description",
								"_UI_DataValue_ulonglong_feature",
								"_UI_DataValue_type"),
						DeploymentPackage.eINSTANCE.getDataValue_Ulonglong(),
						true, false, false,
						ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Longdouble feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addLongdoublePropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_longdouble_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_longdouble_feature",
						"_UI_DataValue_type"), DeploymentPackage.eINSTANCE
						.getDataValue_Longdouble(), true, false, false,
				ItemPropertyDescriptor.REAL_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Fixed feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addFixedPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_fixed_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_fixed_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Fixed(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Href feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addHrefPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_href_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_href_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Href(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Id feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addIdPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_id_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_id_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Id(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Idref feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addIdrefPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_idref_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_idref_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Idref(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Label feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addLabelPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_label_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_label_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Label(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Type feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addTypePropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_type_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_type_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Type(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Uuid feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addUuidPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_uuid_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_uuid_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Uuid(), true, false,
				false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
	}

	/**
	 * This adds a property descriptor for the Version feature.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected void addVersionPropertyDescriptor(Object object) {
		itemPropertyDescriptors.add(createItemPropertyDescriptor(
				((ComposeableAdapterFactory) adapterFactory)
						.getRootAdapterFactory(),
				getResourceLocator(),
				getString("_UI_DataValue_version_feature"),
				getString("_UI_PropertyDescriptor_description",
						"_UI_DataValue_version_feature", "_UI_DataValue_type"),
				DeploymentPackage.eINSTANCE.getDataValue_Version(), true,
				false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null,
				null));
	}

	/**
	 * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
	 * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
	 * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Collection<? extends EStructuralFeature> getChildrenFeatures(
			Object object) {
		if (childrenFeatures == null) {
			super.getChildrenFeatures(object);
			childrenFeatures.add(DeploymentPackage.eINSTANCE
					.getDataValue_Group());
		}
		return childrenFeatures;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EStructuralFeature getChildFeature(Object object, Object child) {
		// Check the type of the specified child object and return the proper feature to use for
		// adding (see {@link AddCommand}) it as a child.

		return super.getChildFeature(object, child);
	}

	/**
	 * This returns DataValue.gif.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object getImage(Object object) {
		return overlayImage(object,
				getResourceLocator().getImage("full/obj16/DataValue"));
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected boolean shouldComposeCreationImage() {
		return true;
	}

	/**
	 * This returns the label text for the adapted class.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String getText(Object object) {
		String label = ((DataValue) object).getId();
		return label == null || label.length() == 0 ? getString("_UI_DataValue_type")
				: getString("_UI_DataValue_type") + " " + label;
	}

	/**
	 * This handles model notifications by calling {@link #updateChildren} to update any cached
	 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public void notifyChanged(Notification notification) {
		updateChildren(notification);

		switch (notification.getFeatureID(DataValue.class)) {
		case DeploymentPackage.DATA_VALUE__SHORT:
		case DeploymentPackage.DATA_VALUE__LONG:
		case DeploymentPackage.DATA_VALUE__USHORT:
		case DeploymentPackage.DATA_VALUE__ULONG:
		case DeploymentPackage.DATA_VALUE__FLOAT:
		case DeploymentPackage.DATA_VALUE__DOUBLE:
		case DeploymentPackage.DATA_VALUE__BOOLEAN:
		case DeploymentPackage.DATA_VALUE__OCTET:
		case DeploymentPackage.DATA_VALUE__OPAQUE:
		case DeploymentPackage.DATA_VALUE__OBJREF:
		case DeploymentPackage.DATA_VALUE__ENUM:
		case DeploymentPackage.DATA_VALUE__STRING:
		case DeploymentPackage.DATA_VALUE__LONGLONG:
		case DeploymentPackage.DATA_VALUE__ULONGLONG:
		case DeploymentPackage.DATA_VALUE__LONGDOUBLE:
		case DeploymentPackage.DATA_VALUE__FIXED:
		case DeploymentPackage.DATA_VALUE__HREF:
		case DeploymentPackage.DATA_VALUE__ID:
		case DeploymentPackage.DATA_VALUE__IDREF:
		case DeploymentPackage.DATA_VALUE__LABEL:
		case DeploymentPackage.DATA_VALUE__TYPE:
		case DeploymentPackage.DATA_VALUE__UUID:
		case DeploymentPackage.DATA_VALUE__VERSION:
			fireNotifyChanged(new ViewerNotification(notification,
					notification.getNotifier(), false, true));
			return;
		case DeploymentPackage.DATA_VALUE__GROUP:
			fireNotifyChanged(new ViewerNotification(notification,
					notification.getNotifier(), true, false));
			return;
		}
		super.notifyChanged(notification);
	}

	/**
	 * Return the resource locator for this item provider's resources.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public ResourceLocator getResourceLocator() {
		return DeploymentplanEditPlugin.INSTANCE;
	}

}
